package com.smfx.yxt.excel.tags;

import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;

public interface ITag {

    /**
     * parse the tag
     * 
     * @param sheet excel sheet
     * @param curRow excel row
     * @param curCell excel cell
     * @return int[] {skip number, shift number, break flag}
     */
    public int[] parseTag(HSSFSheet sheet, HSSFRow curRow, HSSFCell curCell);

    /**
     * tag has #end flag
     * 
     * @return boolean
     */
    public boolean hasEndTag();

    /**
     * get the tag name
     * 
     * @return str
     */
    public String getTagName();
}
